/*
 * @Author: wangzhichiao<https://github.com/wzc570738205>
 * @Date: 2020-05-25 09:07:34
 * @LastEditors: wangzhichiao<https://github.com/wzc570738205>
 * @LastEditTime: 2020-05-26 10:00:55
 */
import Vue from 'vue'
import router from './router'
import store from './store'
import './components'
import './directive'
import './filters'
import './mixins'
import './icons'
import './styles/index.styl'
import 'bpmn-js/dist/assets/diagram-js.css'
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css'
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css'
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css'
import 'bpmn-js-properties-panel/dist/assets/bpmn-js-properties-panel.css'
import formCreate from '@form-create/element-ui'

Vue.use(formCreate)
Vue.config.productionTip = false
Vue.prototype.$ELEMENT = { size: 'small' }

window.addEventListener('DOMContentLoaded', () => {
  new Vue({
    router,
    store,
    render: h =>
      h('router-view', {
        attrs: {
          id: 'app'
        },
        style: {
          width: 'inherit',
          minWidth: '1366px',
          height: 'inherit'
        }
      })
  }).$mount('#app')
})
